package com.jiyun.wait.service;

import com.jiyun.pojo.driver.Driver;
import com.jiyun.pojo.order.OrderInformation;
import com.jiyun.result.Result;

public interface WaitService {
    int waitPeople();


    Result closeOrder(OrderInformation orderInformation);

    Result findSelectDriver();

    Result closeOrderNoPeople(OrderInformation orderInformation);


    Result selectOrderByOrderId(OrderInformation orderInformation);

    Result saveOrderTime(OrderInformation orderInformation);

    Result selectOrderStatus(OrderInformation orderInformation);

    Result saveOrder(OrderInformation orderInformation);


    Result selectDriverById(Driver driver);

    int selectOrderStatusIsArrive(OrderInformation orderInformation);
}
